import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'


/**
 * 描述
 */
@EntityModel('course_source')
export class courseSourceEntity extends LoeeEntity {
  @Column({ comment: '课程小节主题' })
  section_theme: string;

  @Column({ comment: '课程难度' ,nullable: true})
  level: number;

  @Column({ comment: '编程难度' ,nullable: true})
  programming_level: number;

  @Column({ comment: '搭建难度' ,nullable: true})
  construct_level: number;

  @Column({ comment: '程序设计',nullable: true})
  program_design: string;

  @Column({ comment: '机械原理',nullable: true})
  mechanical: string;

  @Column({ comment: '课程造型',nullable: true})
  course_shape: string;

  @Column({ comment: '内容标签',nullable: true})
  content_label: string;

  // @Column({ comment: '内容大主题' })
  // content_theme: string;

  // @Column({ comment: '科学原理',nullable: true})
  // scientific: string;
  
  @Column({ comment: '上课经验',length:3000 })
  teacher_experience: string;

  @Column({ comment: '幼儿五大主题',nullable: true})
  child_five_theme: string;

  @Column({ comment: '课程来源' })
  course_from: string;



  @Column({ comment: '课程时长'})
  course_time: string;

  @Column({ comment: '课程类型',nullable: true})
  course_type: number;

  // @Column({ comment: '课程学期',nullable: true})
  // course_summary: string;

  @Column({ comment: '阶段名称',nullable: true})
  phase_name: number;

  @Column({ comment: '课程学习目标',length:1000,nullable: true})
  learning_goals: string;

  @Column({ comment: '科学目标',length:1000,nullable: true})
  science_goals: string;

  @Column({ comment: '编程目标',length:1000,nullable: true})
  programming_goals: string;

  @Column({ comment: '工程学习目标',length:1000,nullable: true})
  engineering_design_goals: string;

  @Column({ comment: '情感目标',length:1000,nullable: true})
  emotional_goal: string;

  @Column({ comment: '总顺序',nullable: true})
  sort: number;

  @Column({ comment: '阶段顺序',default:1})
  phase_sort: number;
  
  @Column({ comment: '文件',length:2000,nullable: true})
  file: string; 

  @Column({ comment: '是否启用',default:true})
  isUse: boolean;

  @Column({ comment: '备注',length:1000,nullable: true})
  note: string;
}
